package com.cmbc.thread;
/**
 * 创建多线程的方式1.继承Thread
 * @author MilchstraBe_
 *
 */
public class App {

	public static void main(String[] args) {
		Window window=new Window();
		window.setName("窗口1");
		window.start();
		Window window2=new Window();
		window2.setName("窗口2");
		window2.start();
	}

}
